package com.lpf.ioc.service;

import com.lpf.ioc.dao.BookDao;
import lombok.Data;
import org.springframework.stereotype.Service;

import javax.inject.Inject;

@Data
@Service
public class BookService {

    //@Qualifier("bookDao2")
    //@Autowired(required=false)

    //@Resource(name="bookDao2")
    @Inject
    private BookDao bookDao;
    //private BookDao bookDao2;
}
